package com.wulinbus.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.wulinbus.dao.render.RenderBannerDao;
import com.wulinbus.model.RenderBannerModel;
import com.wulinbus.service.RenderBannerService;
@Service
public class RenderBannerServiceImpl implements RenderBannerService{
	@Resource
	RenderBannerDao renderBannerDao;
	public RenderBannerModel getOne(){
		return renderBannerDao.getOne();
	}
	@Override
	public List<RenderBannerModel> getAllRenderBanner() {
		// TODO Auto-generated method stub
		return renderBannerDao.getAllRenderBanner();
	}
	@Override
	public Integer delete(Integer rbid) {
		// TODO Auto-generated method stub
		return renderBannerDao.delete(rbid);
	}
	@Override
	public void insert(RenderBannerModel renderBannerModel) {
		// TODO Auto-generated method stub
		renderBannerDao.insert(renderBannerModel);
	}
	@Override
	public RenderBannerModel getRenderBannerModel(Integer rbid) {
		// TODO Auto-generated method stub
		return renderBannerDao.getRenderBannerModel(rbid);
	}
	@Override
	public void update(RenderBannerModel renderBannerModel) {
		// TODO Auto-generated method stub
		renderBannerDao.update(renderBannerModel);
	}
}
